<#include "../component/layout.html"/>
<@layout>
<div class="assets-navi">
	<ul class="items">
	    <li class="item"><a option="order" class="tab current">订单记录</a></li>
	    <li class="item"><a option="reward" class="tab">奖励记录</a></li>
	    <li class="item"><a option="draw" class="tab">提现记录</a></li>
	    <li class="item"><a option="setting" class="tab">提现设置</a></li>
	    <li class="item item-last"><a option="apply" class="tab">提现申请</a></li>
	</ul>
</div>
<!-- 导航结束 -->
<div class="assets-content">
	
</div>
<!-- 内容结束 -->
</@layout>
<script type="text/javascript">
var loadpage = $.koorz.loadpage;
loadpage.conf.id = ".assets-content";
$(".assets-navi .tab").click(function(){
	$(".assets-navi .tab.current").removeClass('current');
	$(this).addClass('current');
	if($(this).attr("option") == "order"){
		loadpage.conf.url=KOORZ.path + "/user/orderRecord";
	}else if($(this).attr("option") == "reward"){
		loadpage.conf.url=KOORZ.path + "/user/rewardRecord";
	}else if($(this).attr("option") == "draw"){
		loadpage.conf.url=KOORZ.path + "/user/drawRecord";
	}else if($(this).attr("option") == "setting"){
		loadpage.conf.url=KOORZ.path + "/user/drawSetting";
	}else {
		loadpage.conf.url=KOORZ.path + "/user/drawApply";
	}
	loadpage.load();
});
$(".assets-navi .tab")[0].click();
</script>